home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / wordproc / wf_v31c.arj / DOCS / WF.006 < prev    next >
Text File  |  1992-01-31  |  23KB  |  576 lines

  1. .f3                              - # -          Chapter 6 - Working With Blocks
  2. .rm70
  3. .tc
  4. .tc1
  5. .tc 6. WORKING WITH BLOCKS ................................#
  6. CHAPTER 6   WORKING WITH BLOCKS
  7.  
  8. .ixMoving;Moving blocks of Text - see Blocks
  9. .imBlocks
  10. A block of text is an area that starts with a Begin Block marker, and
  11. terminates with an End Block marker. Normally, all text from the
  12. Beginning going left to right and down the file is included up to the
  13. end block marker. However, if Column Mode is set, then the block
  14. markers also set column boundaries, and only text within those columns
  15. is included.
  16.  
  17. .tc    Mark a Block of Text ...............................#
  18. Mark a Block of Text
  19.  
  20. .ix   Mark block  (^KB & ^KK)
  21. 1. Place the cursor at the beginning of the block.
  22. 2. Press the block begin keys: Ctrl K B or F7.
  23. 3. Move the cursor to the end of the block. Press the Block end
  24.    sequence: Ctrl K K or F8. The block will be highlighted in
  25.    complementary colours.
  26.  
  27. Font Display
  28.  
  29. If Font display is OFF, then the cursor column position is where the
  30. block marker is set. If Font Display is ON, then if the cursor is
  31. positioned just after a font marker, the beginning block will be moved
  32. left until the character prior to the block marker is not a font
  33. character. Conversely, if the End block marker is positioned before a
  34. font display character, the End block marker will be moved right until
  35. it is positioned over a non font character. This is to ensure that
  36. font characters are included in blocks when they are marked if font
  37. display is ON.
  38.  
  39. Columns Included
  40.  
  41. The column the cursor resides in is included in the beginning of
  42. block, but is excluded from the end of block. If column mode is OFF,
  43. then all text between the Beginning and the End markers is included.
  44. When column mode is ON (the status line will show Tbl I or Tbl R) the
  45. text must be within the columns delimited by the beginning and end
  46. markers.
  47.  
  48. .Tc    Hide a Block .......................................#
  49. Hide a Block
  50.  
  51. .ix   Turn of Marking (^KH)
  52. Once a block is marked, it can be hidden from view. When it is hidden,
  53. it is treated as if it had never been marked, except that if you enter
  54. the Hide block command a second time without changing the block
  55. markers, then the hidden block will be revealed again.
  56.  
  57. To hide a block press Ctrl K H
  58.  
  59. .tc    Columns ............................................#
  60. Columns
  61.  
  62. .ix   Column Blocks
  63. When column mode is active, blocks of text are delineated by columns.
  64. There are 2 types of column mode: Column Mode and Column Replace Mode,
  65. and they affect the way in which blocks of text are moved and copied.
  66.  
  67. Column Mode
  68.  
  69. .ixColumns;   Column Blocks
  70. To toggle column mode, enter Ctrl K N. If column mode is OFF, it will
  71. be turned ON, and vice versa. Column mode determines that blocks mark
  72. columns of text, and with word wrap, that words wrap within columns.
  73. The status line will display either Tbl I or Tbl R, depending upon
  74. whether Column Replace is also on.
  75.  
  76. Column Replace Mode
  77.  
  78. .ixColumns;   Column Replace (^KI)
  79. .ixColumns;   Column Mode    (^KN)
  80. To toggle column replace mode, enter Ctrl K I. If column replace is
  81. OFF, it will be turned ON, and vice versa. However, it will have no
  82. effect unless column mode is also on.
  83.  
  84. When column mode is ON and column replace is OFF, columns of text
  85. displace any text on lines they are moved (or copied) into, and lines
  86. they are moved (or deleted) from have their text moved left to fill in
  87. the gap.
  88.  
  89. When column mode is ON and column replace is ON, columns of text
  90. overwrite text on lines into which they are moved (or copied), and
  91. lines they are moved (or deleted) from have the text replaced by
  92. spaces.
  93.  
  94. This is covered in more detail in Move, Copy and Delete below.
  95.  
  96. .Tc    Moving a Block .....................................#
  97. Moving a Block
  98.  
  99. .ix   Moving (^KV)
  100. To move a block of text within a file:
  101. 1. Mark the block of text with Ctrl K B and Ctrl K K.
  102. 2. Move the cursor to the new location for the block.
  103. 3. Press Ctrl K V and the text is moved.
  104. 4. Press Ctrl K H to unmark the block.
  105.  
  106. If Column mode is OFF, then the moved text will be inserted where the
  107. cursor is, regardless of the setting of INS. The text to the right of
  108. the cursor will be pushed right, and if the block consists of more
  109. than one line, additional lines will be inserted. To move a complete
  110. line, go to column one and mark the beginning, and then go down one
  111. line and mark the end in column one as well. The text is deleted from
  112. its original position in a move. If the moved text is all in one line,
  113. then no gap will remain after the text is moved.
  114.  
  115. In the examples below, the marked text is underlined. The cursor is
  116. shown by a single underline character _
  117.  
  118. No Columns{.╬}
  119. (i)     Partial line.
  120.  
  121.          Friends, Romans and countrymen, lend me your ears.
  122.          Now is the time
  123.  
  124.         becomes
  125.  
  126.          Friends, Re your ears.
  127.          Now iomans and countrymen, lend ms the time
  128.  
  129. .cp7
  130. (ii)    Multiple lines
  131.  
  132.          'Twas brillig and the slythy toves
  133.          did gyre and gymbol in the gabe.
  134.          All mimsey were the borogoves,
  135. _        and mome raths outgabe.
  136.  
  137.         becomes
  138.  
  139.          All mimsey were the borogoves,
  140.          'Twas brillig and the slythy toves
  141.          did gyre and gymbol in the gabe.
  142. _        and mome raths outgabe.
  143.  
  144. Column Mode
  145.  
  146. .ix   Moving Columns
  147. If Column Mode is ON, and Column Replace mode is OFF, (the status line
  148. shows Tbl I) then the moved text pushes text on the line to the right
  149. for each line that has text moved to it. The source text is deleted,
  150. and the text on the line flows left to fill in any gaps:
  151.  
  152. Example
  153.  
  154.           This is the date that the decision was made not to pursue
  155.           the assessment, or the date on which the decision was made
  156.           not to offer a program, or the date on which the Assessment
  157.           deliverables (eg rehabilitation plan or assessment report)
  158.           were produced. If not filled in, when the client proceeds to
  159.           the Program Details screen, it will default to the start
  160.           date from the first current objective.
  161.  
  162.         becomes
  163.  
  164.           Thie that the decision was s is the datmade not to pursue
  165.           the or the date on which th assessment,e decision was made
  166.           notprogram, or the date on  to offer a which the Assessment
  167.           delg rehabilitation plan oriverables (e assessment report)
  168.           werIf not filled in, when te produced. he client proceeds to
  169.           the Program Details screen, it will default to the start
  170.           date from the first current objective.
  171.  
  172. which does not make a lot of sense for text, but serves to illustrate
  173. what happens.
  174.  
  175. .cp15
  176. Column Replace
  177.  
  178. .ix   Moving Columns
  179. If Column Mode is ON, and Column Replace mode is ON, (the status line
  180. shows Tbl R) then the moved text overwrites text on the line to the right
  181. for each line that has text moved to it. The source text is deleted,
  182. and the text on the line replaced by spaces.
  183.  
  184. .cp10
  185. Example
  186.  
  187.           This is the date that the decision was made not to pursue
  188.           the assessment, or the date on which the decision was made
  189.           not to offer a program, or the date on which the Assessment
  190.           deliverables (eg rehabilitation plan or assessment report)
  191.           were produced. If not filled in, when the client proceeds to
  192.           the Program Details screen, it will default to the start
  193.           date from the first current objective.
  194.  
  195.         becomes
  196.  
  197.           Thie that the decision was             made not to pursue
  198.           the or the date on which th            e decision was made
  199.           notprogram, or the date on             which the Assessment
  200.           delg rehabilitation plan or             assessment report)
  201.           werIf not filled in, when t            he client proceeds to
  202.           the Program Details screen, it will default to the start
  203.           date from the first current objective.
  204.  
  205.  
  206. As you can see, column moves will correctly handle overlapping blocks,
  207. provided the cursor is not positioned within the block. If this is the
  208. case, the move rejects. For a column move, the first column of the
  209. block is a valid cursor position, and can be used to move a block up
  210. or down a few lines. Shifting blocks of text left or right in the line
  211. can also be accomplished by the Shift Left and Shift Right commands.
  212. (See below)
  213.  
  214. NOTE  Column mode is checked on the source window, so if you are
  215.       copying or moving from one window to another, the settings on
  216.       the source window will be assumed to hold for the destination.
  217.       If this were not the case, strange things could happen if a
  218.       column of text were moved (or copied) and then treated like a
  219.       series of lines at the destination.
  220.  
  221. .IRExamples;Examples & TIPS see TIPS
  222. .ixTIPS;   Different column settings & blocks
  223. TIP   If you need different column mode setting on 2 windows (ie
  224.       column mode on one and column replace on the other) for a move,
  225.       set the appropriate settings for the destination on the source
  226.       window, and Copy the block. The change the settings on the
  227.       source window, Redefine the block, and Delete it.
  228.  
  229. .Tc    Copying a Block ....................................#
  230. Copying a Block
  231.  
  232. .ix   Copying
  233. To copy a block of text within a file:
  234. 1. Mark the block of text with Ctrl K B and Ctrl K K.
  235. 2. Move the cursor to the new location for the block.
  236. 3. Press Ctrl K C at the location to copy the text.
  237.  
  238. Copying functions almost identically to moving a block, except that
  239. the source text is unchanged.
  240.  
  241. .cp5
  242. .Tc    Deleting a Block ...................................#
  243. Deleting a Block
  244.  
  245. .ix   Deleting
  246. .ixDeleting            ;   Block of Text
  247. To delete a block of text:
  248. 1. Mark the block of text with Ctrl K B and Ctrl K K  .
  249. 2. Press Ctrl K Y and the text is deleted.
  250.  
  251. Deleting functions in a similar fashion to moving text, where the
  252. source text is deleted. There is naturally no destination. Deleted
  253. blocks are copied to the Undo buffer, but only as many lines as will
  254. fit. The undo buffer acts as a stack, in that the last line pushed
  255. onto it is the first one out, except that if the buffer is full, the
  256. oldest text is dropped off the bottom, and the space returned
  257.  
  258. .cp5
  259. .Tc    Undeleting a Block .................................#
  260. Undeleting a Block
  261. .ixUndo;   Undeleting a block (^QV)
  262. .ix   Undeleting a block (^QV)
  263.  
  264. To undelete the text currently in the Undo Area:
  265. 1. Place the cursor where you want to insert the text from the Undo
  266.    Area.
  267. 2. Press Alt Y once for each line.
  268. OR
  269. 2. Press Ctrl Q V to insert the entire undo buffer.
  270.  
  271. The amount of text in the undo buffer is limited to the number of
  272. lines you select in the Undo limit menu item on the Global file
  273. options sub menu on the Options menu. It defaults to 200.
  274.  
  275. .tc    Writing to a File ..................................#
  276. Writing to a File
  277. .ixWriting;Writing to a File
  278. .ix   Writing to a separate file (^KW)
  279.  
  280. To copy a block of text to another file:
  281. 1. Mark the block of text with Ctrl K B and Ctrl K K.
  282. 2. Press Ctrl K W. A window will prompt:
  283.  
  284.     ╔══════════ Filename to Write to ════════════════════╗
  285.     ║                                                    ║
  286.     ╚════════════════════════════════════════════════════╝
  287.  
  288. 3. Type a file name and press Enter.
  289.  
  290. If the block is defined as a column, only a column will be written.
  291.  
  292. .tc    Inserting a File ...................................#
  293. Inserting a File
  294.  
  295. .ix   Inserting a file (^KR)
  296. .ix   Read a block (^KR)
  297. .ixInserting;Inserting a file
  298. To insert a file into the file you are editing:
  299. 1. Press Ctrl K R where you want the file inserted. A window will
  300.    prompt
  301.  
  302.     ╔═════════════════ Read File ════════════════════════╗
  303.     ║                                                    ║
  304.     ╚════════════════════════════════════════════════════╝
  305.  
  306. 2. Type a file name and press Enter. The file will be inserted after
  307.    the cursor.
  308.  
  309. The file is treated as not column mode, and the setting of the
  310. destination window are ignored.
  311.  
  312. .CP6
  313. .ixTIPS;   Inserting in column mode
  314. TIP   If you want to read in a file as a column, open a separate
  315.       window for the file, and read it there. Then set the column
  316.       settings you want, mark the block of text in the file, and Copy
  317.       or Move it to the Destination window.
  318.  
  319. .cp5
  320. .tc    Shift Left .........................................#
  321. Shift Left
  322.  
  323. .ix   Shift block left
  324. A marked block can be shifted left or right on the line(s). Column
  325. mode blocks can also be shifted.
  326.  
  327. To shift a marked block left press Ctrl K < or Ctrl F7. You will be
  328. prompted for the number of columns to move the block.
  329.  
  330.     ╔═══ Cols to Shift Left ════════╗
  331.     ║ 2                             ║
  332.     ╚═══════════════════════════════╝
  333.  
  334. Blocks that are not column mode blocks can be shifted left beyond the
  335. left margin. Any characters shifted beyond the left margin will be
  336. lost.
  337.  
  338. Column mode blocks always behave as if Column Replace is ON. That is
  339. that text overwrites any text to the left, and columns left blank are
  340. blanked. It is not possible to shift a column mode block beyond the
  341. left margin.
  342.  
  343. .cp5
  344. .tc    Shift Right ........................................#
  345. Shift Right
  346.  
  347. .ix   Shift block right
  348. To shift a marked block right press Ctrl K > or Ctrl F8. You will be
  349. prompted for the number of columns to move the block.
  350.  
  351.     ╔═══ Cols to Shift Right ═══════╗
  352.     ║ 2                             ║
  353.     ╚═══════════════════════════════╝
  354.  
  355. As the block is shifted to the right, the columns vacated are filled
  356. with spaces. It is not possible to shift a block further right than
  357. the maximum line length, which is 999 characters.
  358.  
  359. Column mode blocks always behave as if Column Replace is ON. That is
  360. that text overwrites any text to the right, and columns left blank are
  361. blanked.
  362.  
  363. .tc    Strip Hi Bits ......................................#
  364. Strip Hi Bits
  365.  
  366. .ix   Strip High bits
  367. Some word processors such as WordstarTM can set the hi bits of certain
  368. characters on, resulting in the text looking like Greek or something.
  369. You can turn off hi bits when you load a file (refer to Load File
  370. Options) or you can mark a block and turn off the hi bits in the
  371. block.
  372.  
  373. To strip off hi bits in a marked block, press Ctrl K ^ (shift plus the
  374. 6 key)
  375.  
  376. .CP5
  377. For example:
  378.     áíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╘╒╓╫╪┘┌█µτΦΘ
  379.  
  380.   becomes
  381.      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRTUVWXYZ[fghi
  382.  
  383.  
  384. .tc    Toggle Case ........................................#
  385. Toggle Case
  386.  
  387. .ixCase Convert;Case Conversion (^K' ^K" AltF10 Alt9)
  388. Toggling the case of a marked block means turning capital letters into
  389. lower case letters and vice versa. If the block is marked and visible,
  390. and the cursor is positioned in the block, the command affects the
  391. entire block. Otherwise the command operates only on the character
  392. under the cursor. European characters from the standard Ascii set are
  393. also handled correctly.
  394.  
  395. To change the case of a block, press Alt F10.
  396.  
  397. There is also a shortcut (macro) set up to allow you to change the
  398. case of consecutive letters. You press Alt 9 (using the numbers along
  399. the top of the keyboard), and if you hold these 2 keys down, the
  400. cursor will move to the right  along the line you are editing, and the
  401. case of each letter through which it passes will be changed, either
  402. from Upper to Lower, or from Lower to Upper.
  403.  
  404.  
  405. .tc    To Upper Case ......................................#
  406. To Upper Case
  407.  
  408. .ix   Uppercase (^K")
  409. .ixCase Convert;Case Conversion (^K' ^K" AltF10 Alt9)
  410. This command turns characters into upper case. If the block is marked
  411. and visible, and the cursor is positioned in the block, the command
  412. affects the entire block. Otherwise the command operates only on the
  413. character under the cursor. European characters from the standard
  414. Ascii set are also handled correctly.
  415.  
  416. To convert to Upper case, press Ctrl K ".  (you need the shift key for ")
  417.  
  418.  
  419. .tc    To Lower Case ......................................#
  420. To Lower Case
  421.  
  422. .ix   Lowercase (^K')
  423. .ixCase Convert;Case Conversion (^K' ^K" AltF10 Alt9)
  424. This command turns characters into Lower case. If the block is marked
  425. and visible, and the cursor is positioned in the block, the command
  426. affects the entire block. Otherwise the command operates only on the
  427. character under the cursor. European characters from the standard
  428. Ascii set are also handled correctly.
  429.  
  430. To convert to Upper case, press Ctrl K '. (no shift key for ')
  431.  
  432. .tc    Format Block .......................................#
  433. Format Block
  434.  
  435. .ix   Format block (^KF)
  436. This command applies the format paragraph command to the marked block.
  437. You will need word wrap to be active for this to work. You can use
  438. this to reformat a number of paragraphs at one time, even the entire
  439. document. (You should ensure that they all use the same formatting, or
  440. that you have embedded ruler lines for each formatting change).
  441.  
  442. Press Ctrl K F.
  443.  
  444. .CP5
  445. In non column mode, each paragraph that is part of the marked block is
  446. reformatted.
  447.  
  448. .CP5
  449. In column mode, the start and end block markers define the line
  450. boundaries of the paragraph reformatting. The columns are determined
  451. from the columns set in the ruler line, and depend on where the cursor
  452. is. Reformatting columns of text without reference to existing column
  453. margins does not make a lot of sense.
  454.  
  455.  
  456. .tc    Sort a Block .......................................#
  457. Sort a Block
  458.  
  459. .ix   Sort a Block
  460. This command allows you to sort a marked block in either ascending
  461. order (A..Z) or descending order (Z..A). You will be prompted whether
  462. you want the block sorted in ascending or descending order. The marked
  463. block will then be sorted in the sequence you selected.{.╬}
  464. {.╬}
  465. Sorting is not case sensitive. This means that Upper case and Lower
  466. case characters will sort together, so that "APPLE" and "apple" will
  467. sort together. The entire line is ALWAYS sorted, even in column mode
  468. with a limited block.
  469.  
  470. If you are in column mode, or the start column is not the same as the
  471. end column, only the characters between the 2 column limits will be
  472. compared, otherwise the first 50 characters of the lines will be
  473. compared.
  474.  
  475. YOU CANNOT UNDO A BLOCK SORT - YOU MAY WANT TO SAVE YOUR FILE FIRST
  476.  
  477.  
  478. .tc    Export Ascii .......................................#
  479. Export Ascii
  480.  
  481. .ix   Convert to ASCII (^JA)
  482. A marked block can be exported as a pure ascii file, with print
  483. control commands stripped out, by pressing Ctrl J A. If the block is
  484. marked and visible and in the current window, then only the contents
  485. of the marked block is exported. Otherwise the entire file in the
  486. current window is exported as ascii text.
  487.  
  488. You will be prompted for a file name to export to, and if the file
  489. exists you will also be asked whether to over-write or append to the
  490. end of the file.
  491.  
  492. Ascii text means that all embedded control characters are stripped
  493. out, and all print commands are stripped out. Each line ends with a
  494. hard carriage return (which is the norm for Word Fugue files anyway).
  495. Hi order bits are not affected, so graphical characters stay the same.
  496. If you need to remove these, use the strip hi bits command.
  497.  
  498.  
  499. .CP5
  500. .tc    Set Font for a Block ...............................#
  501. Set Font for a Block
  502.  
  503. .ix   Set Font For
  504. If you mark a block and then place the cursor within the block, you
  505. can mark the block with a particular font command. The quote key Ctrl
  506. P will not set a font for a block, but will only insert the font
  507. marker at the cursor, so you must use the installed font commands for
  508. this to be effective:
  509.  
  510.  
  511. .CP11
  512.                Bold            Alt B
  513.                Double Strike   Alt D
  514.                Underline       Alt U
  515.                Superscript     Alt T
  516.                Subscript       Alt V
  517.                Compressed      Alt C
  518.                Italics         Alt I
  519.  
  520.  
  521.                Fig 6.1 - Block Font Commands
  522. .tc1 Fig 6.1 - Block Font Commands .........................#
  523.  
  524.  
  525. .CP10
  526. The appropriate font marker will be inserted at the beginning and end
  527. of the marked block, and the block marking will be turned off to let
  528. you see the new font (if font display is active).
  529.  
  530. The cursor must be within the block, otherwise the command simply
  531. inserts a font marker at the cursor position.
  532.  
  533. Column Mode Blocks
  534.  
  535. Column mode blocks can also be marked as a particular font in exactly
  536. the same method as above. In this case however, the font markers are
  537. inserted at the left and right boundary columns of the block on each
  538. line within the block.
  539.  
  540. For example, in Fig 6.1 above, the bolded list of commands can be
  541. bolded by marking the column as a column mode block, placing the
  542. cursor anywhere within the block, and pressing Alt B. Don't forget to
  543. turn column mode off afterwards.
  544.  
  545.  
  546. .CP5
  547. .tc    External Pick Buffers ..............................#
  548. External Pick Buffers
  549. .ix   External Pick Buffers
  550. .ixPick Buffers;Pick Buffers
  551.  
  552. Although you can have only one marked block active, Word Fugue
  553. supports the use of external pick buffers, into which a marked block
  554. can be copied, and subsequently retrieved. You can have 10 of these
  555. external pick buffers, numbered 0 to 9.
  556.  
  557. This acts as an extension to the paste command (Alt O):
  558.  
  559. Alt O X n    where n = 0 to 9 will export the marked text to
  560.              the appropriate pick buffer. If you have the option
  561.              Always use Descriptions ON, you will be prompted for a
  562.              description for this block.
  563.  
  564. .CP5
  565. Alt O n      where n = 0 to 9 will import text from the pick
  566.              buffer. This text can be imported as often as you
  567.              wish.
  568.  
  569. Alt O I n    where n = 0 to 9 will import text from the pick
  570.              buffer. This text can be imported as often as you
  571.              wish. In this case you will see a list of the available
  572.              pick buffers, with descriptions if you set them up when
  573.              you exported the text.
  574.  
  575. The text is actually stored in files called PICKBFR.0 to PICKBFR.9
  576.